import React, { Component } from 'react';
import { Link, Route, Switch, Redirect } from 'react-router-dom';
import { Layout } from 'antd';
import Head from './Head';
import Home from './Home';
import mine from './mine';


const { Footer } = Layout;

const styles = {
}

class App extends Component {
  render() {
    return (
      <div>
        <div>
          <Head />
        </div>
        <div style={{ height: '100%' }}>
          <Switch>
            <Route exact path="/" component={Home} />
            <Route exact path="/mine/:ever" component={mine} />
          </Switch>
        </div>
        <div>
          <Footer style={{ textAlign: 'center' }}>
            我的知识库——知识分类管理系统
          </Footer>
        </div>
      </div>
    );
  }
}


export default App;